package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Schedule;
import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.data.domain.Page;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void saveSchedule(HttpServletRequest request);

    Page<Schedule> scheduleList(Map<String, Object> map);

    Map<String, Object> getScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    List<Schedule> getScheduleInfo(String hoscode, String depcode, String workDate);

    Map<String, Object> getBookingSchedule(Integer page, Integer limit, String hoscode, String depcode);

    Schedule getSchedule(String scheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);

    Schedule getById(String scheduleId);

    void update(Schedule schedule);

    Schedule getByHosScheduleId(String scheduleId);
}
